package cn.ssm.petadopt.mapper;

import cn.ssm.petadopt.entity.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Autheor: Sun俊仪
 * @Date: 2022 2022/12/17 14:15
 * @Name: PetSystem
 */
public interface UserMapper {


    User judgeUserName(String userName);

    Integer registerUser(User user);


    Integer updateU(User user);

    @Select("select * from user where userName = #{userName}")
    User selectShowSetting(String userName);

    Integer updatePwd(User user1);
}
